/*
package com.yunc.base.queue.rabbitmq;

import org.springframework.amqp.core.FanoutExchange;
import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

*/
/**
 * 消息队列配置
 *
 * @author taocongcong
 * @create 2019-10-25 7:40
 *//*

@Configuration
public class RabbitMqConfig {

    */
/**
     * 一个生产者对一个消费者模式
     *//*

    @Bean
    public Queue kinsonQueue() {
        return new Queue("kinson");
    }

    @Bean
    public Queue ackQueue() {
        return new Queue("ackQueue");
    }

    @Bean
    public FanoutExchange fanoutExchange() {
        return new FanoutExchange("fanoutExchange");
    }

    */
/*@Bean
    public Binding bindingAckQueue2Exchange(Queue ackQueue, FanoutExchange fanoutExchange) {
        return BindingBuilder.bind(ackQueue).to(fanoutExchange);
    }*//*

}
*/
